<script setup>
import {ref} from "vue";

let count = ref(0)

function decrease() {
  count.value -= 1
}

function increase() {
  count.value += 1
}
</script>

<template>
  <h1>{{ count }}</h1>
  <button v-on:click="decrease">-</button>
  <button v-on:click="increase">+</button>
</template>

<style scoped>

</style>